/*var QQMapWX = require('../../libs/qqmap-wx-jssdk.js');
var qqmapsdk = new QQMapWX({
  key: 'NKEBZ-X4ZC3-FVB3T-3WS5T-NR4F7-3CB6K' // 必填
});
*/
Page({
  data: {
  },
  handleChooseImg(){
    wx.chooseImage({
      success (res) {
        const tempFilePaths = res.tempFilePaths
        console.log(tempFilePaths[0])
        wx.uploadFile({
          url: 'https://fourgoldhua.cn/shop_sc/imgCheck', //仅为示例，非真实的接口地址
          filePath: tempFilePaths[0],
          name: 'file',
          formData: {
            'user': 123456
          },
          success (res){
            const data = res.data
            console.log(res)
            console.log(res.data)
          }
        })
      }
    })
  },
})